package com.antdesignbackend.backend.service.impl;

import com.antdesignbackend.backend.entity.ChargingFlow;
import com.antdesignbackend.backend.entity.entityVo.AppointmentVo;
import com.antdesignbackend.backend.entity.entityVo.ChargingFlowVo;
import com.antdesignbackend.backend.mapper.ChargingFlowMapper;
import com.antdesignbackend.backend.service.ChargingFlowService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChargingFlowServiceImpl extends ServiceImpl<ChargingFlowMapper, ChargingFlow> implements ChargingFlowService {

    @Autowired
    private ChargingFlowMapper chargingFlowMapper;

    @Override
    public List<ChargingFlowVo> search(QueryWrapper<ChargingFlowVo> queryWrapper, Page<ChargingFlowVo> page) {
        return chargingFlowMapper.search(queryWrapper, page);
    }
    @Override
    public Integer count(QueryWrapper<ChargingFlowVo> queryWrapper) {
        return chargingFlowMapper.count(queryWrapper);
    }
    @Override
    public List<ChargingFlowVo> searcha(QueryWrapper<ChargingFlowVo> queryWrapper, Page<ChargingFlowVo> page) {
        return chargingFlowMapper.searcha(queryWrapper, page);
    }
    @Override
    public Integer counta(QueryWrapper<ChargingFlowVo> queryWrapper) {
        return chargingFlowMapper.counta(queryWrapper);
    }
    @Override
    public ChargingFlowVo totala(QueryWrapper<ChargingFlowVo> queryWrapper) {
        return chargingFlowMapper.totala(queryWrapper);
    }
    @Override
    public List<AppointmentVo> searchm(QueryWrapper<AppointmentVo> queryWrapper, Page<AppointmentVo> page) {
        return chargingFlowMapper.searchm(queryWrapper, page);
    }
    @Override
    public Integer countm(QueryWrapper<AppointmentVo> queryWrapper) {
        return chargingFlowMapper.countm(queryWrapper);
    }
    @Override
    public ChargingFlowVo totalm(QueryWrapper<ChargingFlowVo> queryWrapper) {
        return chargingFlowMapper.totalm(queryWrapper);
    }

}
